import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import HomeContainer from '@/components/HomeContainer'
import MembersContainer from '@/components/MembersContainer'
import SearchContainer from '@/components/SearchContainer'
import ShopcarContainer from '@/components/ShopcarContainer'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'app',
      component: app
    },
    {
      path: '/home',
      name: 'home',
      component: HomeContainer
    },
    {
      path: '/member',
      name: 'member',
      component: MembersContainer
    },
    {
      path: '/shopcar',
      name: 'shopcar',
      component: ShopcarContainer
    },
    {
      path: '/search',
      name: 'search',
      component: SearchContainer
    },
    
  ],
  linkActiveClass:'mui-active'//修改默认路由的高亮的类，默认是link-active-class
})
